/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.sessionbean;

import dto.Conference;
import dto.Participant;
import dto.Timeline;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author TauPo
 */
@Remote
public interface ConferenceApplicationsRemote {
    public boolean saveConference(Conference conf);
    public boolean updateConference(Conference conf);
    public Conference getConference(String name);
    public List<Conference>getAllConferences();
    public List<Conference>getAllOpenConferences();
    public List<Conference>getConferencesByBookedUser(String userName);
    public List<Conference>getConferencesByType(int type);
    public Participant participantConference(String userName,String  confName);
    public boolean unParticipantConference(String userName,String  confName);
    public boolean updateTimeLine(Timeline timeline);
    public boolean deleteTimeLine(String  conferenceName);
    public List<Timeline> getAllTimeLines();
    public Timeline getTimeLines(String conferenceName);
    
    
}
